翻訳と辞書
Words near each other
・ Regulation of gene expression
・ Regular clergy
・ Regular conditional probability
・ Regular constraint
・ Regular Democratic Organization
・ Regular Division of the Plane
・ Regular dodecahedron
・ Regular economy
・ Regular element
・ Regular element of a Lie algebra
・ Regular embedding
・ Regular expression
・ Regular extension
・ Regular Force
・ Regular Fries
Regular grammar
・ Regular Grand Lodge of Macedonia
・ Regular graph
・ Regular grid
・ Regular Guys
・ Regular Hadamard matrix
・ Regular haircut
・ Regular homotopy
・ Regular icosahedron
・ Regular ideal
・ Regular insulin
・ Regular isotopy
・ Regular Joe
・ Regular Joe (TV series)
・ Regular John


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Regular grammar : ウィキペディア英語版
Regular grammar

In theoretical computer science and formal language theory, a regular grammar is a formal grammar that is right-regular or left-regular. Every regular grammar describes a regular language.
== Strictly regular grammars ==
A right regular grammar (also called right linear grammar) is a formal grammar (''N'', Σ, ''P'', ''S'') such that all the production rules in ''P'' are of one of the following forms:
# ''B'' → ''a'' - where ''B'' is a non-terminal in ''N'' and ''a'' is a terminal in Σ
# ''B'' → ''aC'' - where ''B'' and ''C'' are non-terminals in ''N'' and ''a'' is in Σ
# ''B'' → ε - where ''B'' is in ''N'' and ε denotes the empty string, i.e. the string of length 0.
In a left regular grammar (also called left linear grammar), all rules obey the forms
# ''A'' → ''a'' - where ''A'' is a non-terminal in ''N'' and ''a'' is a terminal in Σ
# ''A'' → ''Ba'' - where ''A'' and ''B'' are in ''N'' and ''a'' is in Σ
# ''A'' → ε - where ''A'' is in ''N'' and ε is the empty string.
A regular grammar is a left or right regular grammar.
Some textbooks and articles disallow empty production rules, and assume that the empty string is not present in languages.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Regular grammar」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.